﻿
using System.ComponentModel;
using System.Drawing;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Library.WebControls {
	public class WebStyle : Style {
		/*
		public WebStyle() {
			Font = new SpFontInfo();
		}
		[Description("")]
		[PersistenceMode(PersistenceMode.InnerProperty)]
		[MergableProperty(false)]
		[Category("Data")]
		[DefaultValue("")]

		[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
		public SpFontInfo Font { get; private set; }
		public virtual Color BackColor { get; set; }
		public virtual Color BorderColor { get; set; }
		public virtual Unit BorderWidth { get; set; }
		public virtual BorderStyle BorderStyle { get; set; }
		public virtual Color ForeColor { get; set; }
		public virtual Unit Height { get; set; }
		public virtual Unit Width { get; set; }


		protected internal virtual void CopyToStyle(Style style) {
			
			style.Font.Bold = Font.Bold;

			style.Font.Italic = Font.Italic;

			style.Font.Name = Font.Name;

			style.Font.Overline = Font.Overline;

			style.Font.Size = Font.Size;

			style.Font.Strikeout = Font.Strikeout;

			style.Font.Underline = Font.Underline;

			style.BackColor = BackColor;

			style.BorderColor = BorderColor;

			style.BorderWidth = BorderWidth;

			style.BorderStyle = BorderStyle;

			style.ForeColor = ForeColor;

			style.Height = Height;

			style.Width = Width;

		}
	
		 */
	}
}
